package cate.game.role.pay.trademall.currencyshop.msg;

import cate.game.client.msg.ClientMsg;
import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgOutput;
import cate.game.client.msg.id.MsgIdBTradeMall;
import cate.game.role.pay.trademall.currencyshop.CurrencyShopPO;
import easy.java.dev.note.NoteField;

import java.util.Map;

@ClientMsg(title = "交易坊-货币商铺 幻晶(代币)商铺信息")
public class ExchangeTokenInfoResp implements MsgOutput {
    @NoteField(value = "代币首次兑换记录")
    public Map<Integer, Boolean> tokenExchangeRecords;

//    @NoteField(value = "紫钻返利记录")
//    public Map<Integer, Integer> rebateRecords;
//
//    @NoteField(value = "返利期数")
//    public int term;

    @Override
    public MsgConfig conf() {
        return MsgIdBTradeMall.TRADE_MALL_CURRENCY_SHOP_EXCHANGE_TOKEN_INFO_RESP;
    }

    public ExchangeTokenInfoResp() {}

    public ExchangeTokenInfoResp(CurrencyShopPO po) {
        tokenExchangeRecords = po.tokenExchangeRecords;
//        rebateRecords = po.rebateRecords;
//        term = po.term;
    }
}
